﻿<Page
    x:Class="characterCounter.FirstPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:characterCouter"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

        <Grid.RowDefinitions>
            <RowDefinition Height="100"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="76"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"/>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="140"/>
        </Grid.ColumnDefinitions>
        <TextBlock Text="{StaticResource AppName}" 
                   Style="{StaticResource HeaderTextBlockStyle}" 
                   Margin="0,24,0,0" 
                   Grid.Row="0" 
                   Grid.Column="1" 
                   HorizontalAlignment="Left"/>
        <TextBlock Text="{StaticResource TextEnglish}" 
                   Style="{StaticResource SubtitleTextBlockStyle}"
                   TextWrapping="WrapWholeWords"
                   Grid.Row="1"
                   Grid.Column="1"
                   HorizontalAlignment="Left"/>
        <TextBox x:Name="TextBoxFirstPage"
                 Margin="0,24,0,24"
                 Width="920"
                 Height="400"
                 BorderBrush="{ThemeResource ComboBoxFocusedBorderThemeBrush}"
                 AllowDrop="True" 
                 AcceptsReturn="True"                  
                 TextWrapping="Wrap"
                 Grid.Row="2"
                 Grid.Column="1"
                 HorizontalAlignment="left"
                 VerticalAlignment="Top"/>
        <Button x:Name="CheckButton" 
                Grid.Row="3" 
                Grid.Column="1"
                Click="CheckNowButtonClicked">
            <StackPanel HorizontalAlignment="Left" 
                        VerticalAlignment="Bottom"
                        Orientation="Horizontal">
                <Image Source="Assets/go_arrow_next_up_green_forward-512.png" 
                       Width="20" 
                       Height="20"
                       Margin="10,10,10,10"/>
                <TextBlock Text="{StaticResource ButtonCheckEnglish}"
                           HorizontalAlignment="Right"
                           VerticalAlignment="Center"
                           Margin="10,10,10,10" />
            </StackPanel> 
        </Button>
    </Grid>
</Page>
